import numpy as np

if __name__ == '__main__':
    # 定义一个 2x2 矩阵
    matrix = np.array([[1, 2], [3, 4]], dtype=np.int64)

    # linalg  linear algebra 线性代数
    result = np.linalg.det(matrix)
    print(result)
    print(int(result))
